* lisp/calc/calc-forms.el (math-date-to-iso-dt): Fix typo.
authorJay Belanger <jay.p.belanger@gmail.com>
Mon, 3 Dec 2012 01:01:13 +0000 (19:01 -0600)
committerJay Belanger <jay.p.belanger@gmail.com>
Mon, 3 Dec 2012 01:01:13 +0000 (19:01 -0600)
lisp/calc/calc-forms.el

index 9915799002f0e649fefbf65362f98472d7facdd3..0b63968ada1d4b95e8b8bf6594aa35b9584de441 100644 (file)
@@ -465,7 +465,7 @@ in the Gregorian calendar and the remaining part determines the time."
                          (let ((y approx)
                                (sum 0))
                            (while (>= (math-compare date 
-                                                    (math-iso-dt-to-absolute (setq y (math-add y 1)) 1 1)) 0)
+                                                    (math-absolute-from-iso-dt (setq y (math-add y 1)) 1 1)) 0)
                              (setq sum (+ sum 1)))
                            sum))))
     (list 
@@ -739,8 +739,6 @@ as measured in the integer number of days before December 31, 1 BC (Gregorian)."
          (progn
            (or math-fd-iso-dt
                (setq math-fd-iso-dt (math-date-to-iso-dt math-fd-date)
-                     jpb math-fd-date
-                     jpbb math-fd-iso-dt
                      math-fd-isoyear (car math-fd-iso-dt)
                      math-fd-isoweek (nth 1 math-fd-iso-dt)
                      math-fd-isoweekday (nth 2 math-fd-iso-dt)))